<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../vue.js"></script>
</head>

<body>
    <div id="app">
        <h1>{{msg}}</h1>
        <p>{{count}}</p>
        <p>{{person}}</p>
        <p>{{hobby}}</p>
        <p>{{sy}}</p>
        <p>{{isHot?"热":"冷"}}</p>
    </div>

    <script>
        const re = new Vue({
            el: "#app",
            data() {
                return{
                    count:1,
                    msg:"明天又是听不懂的一天",
                    person:{
                        name:"liuMin",
                        age:18,
                        sex:"男"
                    },
                    hobby:["抽烟","喝酒","打游戏"],
                    isHot:true,
                    sy:symble()
                }
            }
        })
    </script>
</body>

</html>